package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

/**
 * @author 13771
 * @date 2020/7/23 22:09
 * @description
 */
public interface IUserDao {
    //查询所有用户
    public List<User> findAll();

    //根据条件查询用户
    public User findByCondition(User user);

    //新增用户
    public void insert(User user);

    //更新用户
    public  void update(User user);

    //删除用户
    public void delete(Integer id);
}
